home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
include
/
expect_tcl.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-07-21
|
1KB
|
44 lines
/* expect_tcl.h - include file for using the expect library, libexpect.a
with Tcl (and optionally Tk)
Written by: Don Libes, libes@cme.nist.gov, NIST, 12/3/90
Design and implementation of this program was paid for by U.S. tax
dollars. Therefore it is public domain. However, the author and NIST
would appreciate credit if this program or parts of it are used.
*/
#ifndef _EXPECT_TCL_H
#define _EXPECT_TCL_H
#include "expect_comm.h"
EXTERN int exp_cmdlinecmds;
EXTERN int exp_interactive;
EXTERN FILE *exp_cmdfile;
EXTERN char *exp_cmdfilename;
EXTERN int exp_getpid; /* pid of Expect itself */
EXTERN int exp_buffer_command_input;
EXTERN int exp_tcl_debugger_available;
EXTERN Tcl_Interp *exp_interp;
EXTERN int Exp_Init EXP_PROTO((Tcl_Interp *)); /* for Tcl_AppInit apps */
EXTERN void exp_parse_argv EXP_PROTO((Tcl_Interp *,int argc,char **argv));
EXTERN int exp_interpreter EXP_PROTO((Tcl_Interp *));
EXTERN void exp_interpret_cmdfile EXP_PROTO((Tcl_Interp *,FILE *));
EXTERN void exp_interpret_cmdfilename EXP_PROTO((Tcl_Interp *,char *));
EXTERN void exp_interpret_rcfiles EXP_PROTO((Tcl_Interp *,int my_rc,int sys_rc));
EXTERN char * exp_cook EXP_PROTO((char *s,int *len));
/* app-specific exit handler */
EXTERN void (*exp_app_exit)EXP_PROTO((Tcl_Interp *));
EXTERN void exp_exit EXP_PROTO((Tcl_Interp *,int status));
EXTERN void exp_exit_handlers EXP_PROTO((Tcl_Interp *));
EXTERN void exp_error _ANSI_ARGS_(VARARGS);
#endif /* _EXPECT_TCL_H */